package p270jp.pxv.android.legacy.model;

import android.support.p024v4.media.C0261e;
import com.google.android.gms.ads.C2047a;
import com.google.android.gms.measurement.api.AppMeasurementSdk;
import p325m0.MutabilityOwnership;
import p389ob.SerializedName;

/* compiled from: CollectionTagStatus.kt */
/* renamed from: jp.pxv.android.legacy.model.CollectionTagStatus */
/* loaded from: classes2.dex */
public final class CollectionTagStatus {
    @SerializedName("is_registered")
    private boolean isRegistered;
    @SerializedName(AppMeasurementSdk.ConditionalUserProperty.NAME)
    private final String name;

    public CollectionTagStatus(boolean z, String str) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        this.isRegistered = z;
        this.name = str;
    }

    public static /* synthetic */ CollectionTagStatus copy$default(CollectionTagStatus collectionTagStatus, boolean z, String str, int i, Object obj) {
        if ((i & 1) != 0) {
            z = collectionTagStatus.isRegistered;
        }
        if ((i & 2) != 0) {
            str = collectionTagStatus.name;
        }
        return collectionTagStatus.copy(z, str);
    }

    public final boolean component1() {
        return this.isRegistered;
    }

    public final String component2() {
        return this.name;
    }

    public final CollectionTagStatus copy(boolean z, String str) {
        MutabilityOwnership.m3745m(str, AppMeasurementSdk.ConditionalUserProperty.NAME);
        return new CollectionTagStatus(z, str);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof CollectionTagStatus)) {
            return false;
        }
        CollectionTagStatus collectionTagStatus = (CollectionTagStatus) obj;
        return this.isRegistered == collectionTagStatus.isRegistered && MutabilityOwnership.m3749h(this.name, collectionTagStatus.name);
    }

    public final String getName() {
        return this.name;
    }

    public int hashCode() {
        boolean z = this.isRegistered;
        if (z) {
            z = true;
        }
        int i = z ? 1 : 0;
        int i2 = z ? 1 : 0;
        int i3 = z ? 1 : 0;
        return this.name.hashCode() + (i * 31);
    }

    public final boolean isRegistered() {
        return this.isRegistered;
    }

    public final void setRegistered(boolean z) {
        this.isRegistered = z;
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("CollectionTagStatus(isRegistered=");
        c.append(this.isRegistered);
        c.append(", name=");
        return C2047a.m8800b(c, this.name, ')');
    }
}
